package io.sage.modules.exam.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SimulationScoreExample {
    /**
     * e_simulation_score
     */
    protected String orderByClause;

    /**
     * e_simulation_score
     */
    protected boolean distinct;

    /**
     * e_simulation_score
     */
    protected List<Criteria> oredCriteria;

    public SimulationScoreExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * e_simulation_score 2018-08-27
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeptNoIsNull() {
            addCriterion("dept_no is null");
            return (Criteria) this;
        }

        public Criteria andDeptNoIsNotNull() {
            addCriterion("dept_no is not null");
            return (Criteria) this;
        }

        public Criteria andDeptNoEqualTo(String value) {
            addCriterion("dept_no =", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoNotEqualTo(String value) {
            addCriterion("dept_no <>", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoGreaterThan(String value) {
            addCriterion("dept_no >", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoGreaterThanOrEqualTo(String value) {
            addCriterion("dept_no >=", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoLessThan(String value) {
            addCriterion("dept_no <", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoLessThanOrEqualTo(String value) {
            addCriterion("dept_no <=", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoLike(String value) {
            addCriterion("dept_no like", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoNotLike(String value) {
            addCriterion("dept_no not like", value, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoIn(List<String> values) {
            addCriterion("dept_no in", values, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoNotIn(List<String> values) {
            addCriterion("dept_no not in", values, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoBetween(String value1, String value2) {
            addCriterion("dept_no between", value1, value2, "deptNo");
            return (Criteria) this;
        }

        public Criteria andDeptNoNotBetween(String value1, String value2) {
            addCriterion("dept_no not between", value1, value2, "deptNo");
            return (Criteria) this;
        }

        public Criteria andExaminationIdIsNull() {
            addCriterion("examination_id is null");
            return (Criteria) this;
        }

        public Criteria andExaminationIdIsNotNull() {
            addCriterion("examination_id is not null");
            return (Criteria) this;
        }

        public Criteria andExaminationIdEqualTo(Integer value) {
            addCriterion("examination_id =", value, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdNotEqualTo(Integer value) {
            addCriterion("examination_id <>", value, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdGreaterThan(Integer value) {
            addCriterion("examination_id >", value, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("examination_id >=", value, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdLessThan(Integer value) {
            addCriterion("examination_id <", value, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdLessThanOrEqualTo(Integer value) {
            addCriterion("examination_id <=", value, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdIn(List<Integer> values) {
            addCriterion("examination_id in", values, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdNotIn(List<Integer> values) {
            addCriterion("examination_id not in", values, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdBetween(Integer value1, Integer value2) {
            addCriterion("examination_id between", value1, value2, "examinationId");
            return (Criteria) this;
        }

        public Criteria andExaminationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("examination_id not between", value1, value2, "examinationId");
            return (Criteria) this;
        }

        public Criteria andPaperIdIsNull() {
            addCriterion("paper_id is null");
            return (Criteria) this;
        }

        public Criteria andPaperIdIsNotNull() {
            addCriterion("paper_id is not null");
            return (Criteria) this;
        }

        public Criteria andPaperIdEqualTo(Integer value) {
            addCriterion("paper_id =", value, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdNotEqualTo(Integer value) {
            addCriterion("paper_id <>", value, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdGreaterThan(Integer value) {
            addCriterion("paper_id >", value, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("paper_id >=", value, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdLessThan(Integer value) {
            addCriterion("paper_id <", value, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdLessThanOrEqualTo(Integer value) {
            addCriterion("paper_id <=", value, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdIn(List<Integer> values) {
            addCriterion("paper_id in", values, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdNotIn(List<Integer> values) {
            addCriterion("paper_id not in", values, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdBetween(Integer value1, Integer value2) {
            addCriterion("paper_id between", value1, value2, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperIdNotBetween(Integer value1, Integer value2) {
            addCriterion("paper_id not between", value1, value2, "paperId");
            return (Criteria) this;
        }

        public Criteria andPaperNameIsNull() {
            addCriterion("paper_name is null");
            return (Criteria) this;
        }

        public Criteria andPaperNameIsNotNull() {
            addCriterion("paper_name is not null");
            return (Criteria) this;
        }

        public Criteria andPaperNameEqualTo(String value) {
            addCriterion("paper_name =", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameNotEqualTo(String value) {
            addCriterion("paper_name <>", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameGreaterThan(String value) {
            addCriterion("paper_name >", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameGreaterThanOrEqualTo(String value) {
            addCriterion("paper_name >=", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameLessThan(String value) {
            addCriterion("paper_name <", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameLessThanOrEqualTo(String value) {
            addCriterion("paper_name <=", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameLike(String value) {
            addCriterion("paper_name like", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameNotLike(String value) {
            addCriterion("paper_name not like", value, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameIn(List<String> values) {
            addCriterion("paper_name in", values, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameNotIn(List<String> values) {
            addCriterion("paper_name not in", values, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameBetween(String value1, String value2) {
            addCriterion("paper_name between", value1, value2, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperNameNotBetween(String value1, String value2) {
            addCriterion("paper_name not between", value1, value2, "paperName");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdIsNull() {
            addCriterion("paper_produce_id is null");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdIsNotNull() {
            addCriterion("paper_produce_id is not null");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdEqualTo(Integer value) {
            addCriterion("paper_produce_id =", value, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdNotEqualTo(Integer value) {
            addCriterion("paper_produce_id <>", value, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdGreaterThan(Integer value) {
            addCriterion("paper_produce_id >", value, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("paper_produce_id >=", value, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdLessThan(Integer value) {
            addCriterion("paper_produce_id <", value, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdLessThanOrEqualTo(Integer value) {
            addCriterion("paper_produce_id <=", value, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdIn(List<Integer> values) {
            addCriterion("paper_produce_id in", values, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdNotIn(List<Integer> values) {
            addCriterion("paper_produce_id not in", values, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdBetween(Integer value1, Integer value2) {
            addCriterion("paper_produce_id between", value1, value2, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andPaperProduceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("paper_produce_id not between", value1, value2, "paperProduceId");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Float value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Float value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Float value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Float value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Float value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Float> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Float> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Float value1, Float value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Float value1, Float value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andSingleScoreIsNull() {
            addCriterion("single_score is null");
            return (Criteria) this;
        }

        public Criteria andSingleScoreIsNotNull() {
            addCriterion("single_score is not null");
            return (Criteria) this;
        }

        public Criteria andSingleScoreEqualTo(Float value) {
            addCriterion("single_score =", value, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreNotEqualTo(Float value) {
            addCriterion("single_score <>", value, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreGreaterThan(Float value) {
            addCriterion("single_score >", value, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("single_score >=", value, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreLessThan(Float value) {
            addCriterion("single_score <", value, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreLessThanOrEqualTo(Float value) {
            addCriterion("single_score <=", value, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreIn(List<Float> values) {
            addCriterion("single_score in", values, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreNotIn(List<Float> values) {
            addCriterion("single_score not in", values, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreBetween(Float value1, Float value2) {
            addCriterion("single_score between", value1, value2, "singleScore");
            return (Criteria) this;
        }

        public Criteria andSingleScoreNotBetween(Float value1, Float value2) {
            addCriterion("single_score not between", value1, value2, "singleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreIsNull() {
            addCriterion("double_score is null");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreIsNotNull() {
            addCriterion("double_score is not null");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreEqualTo(Float value) {
            addCriterion("double_score =", value, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreNotEqualTo(Float value) {
            addCriterion("double_score <>", value, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreGreaterThan(Float value) {
            addCriterion("double_score >", value, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("double_score >=", value, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreLessThan(Float value) {
            addCriterion("double_score <", value, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreLessThanOrEqualTo(Float value) {
            addCriterion("double_score <=", value, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreIn(List<Float> values) {
            addCriterion("double_score in", values, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreNotIn(List<Float> values) {
            addCriterion("double_score not in", values, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreBetween(Float value1, Float value2) {
            addCriterion("double_score between", value1, value2, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andDoubleScoreNotBetween(Float value1, Float value2) {
            addCriterion("double_score not between", value1, value2, "doubleScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreIsNull() {
            addCriterion("judgment_score is null");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreIsNotNull() {
            addCriterion("judgment_score is not null");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreEqualTo(Float value) {
            addCriterion("judgment_score =", value, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreNotEqualTo(Float value) {
            addCriterion("judgment_score <>", value, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreGreaterThan(Float value) {
            addCriterion("judgment_score >", value, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("judgment_score >=", value, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreLessThan(Float value) {
            addCriterion("judgment_score <", value, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreLessThanOrEqualTo(Float value) {
            addCriterion("judgment_score <=", value, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreIn(List<Float> values) {
            addCriterion("judgment_score in", values, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreNotIn(List<Float> values) {
            addCriterion("judgment_score not in", values, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreBetween(Float value1, Float value2) {
            addCriterion("judgment_score between", value1, value2, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andJudgmentScoreNotBetween(Float value1, Float value2) {
            addCriterion("judgment_score not between", value1, value2, "judgmentScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreIsNull() {
            addCriterion("completion_score is null");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreIsNotNull() {
            addCriterion("completion_score is not null");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreEqualTo(Float value) {
            addCriterion("completion_score =", value, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreNotEqualTo(Float value) {
            addCriterion("completion_score <>", value, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreGreaterThan(Float value) {
            addCriterion("completion_score >", value, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("completion_score >=", value, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreLessThan(Float value) {
            addCriterion("completion_score <", value, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreLessThanOrEqualTo(Float value) {
            addCriterion("completion_score <=", value, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreIn(List<Float> values) {
            addCriterion("completion_score in", values, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreNotIn(List<Float> values) {
            addCriterion("completion_score not in", values, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreBetween(Float value1, Float value2) {
            addCriterion("completion_score between", value1, value2, "completionScore");
            return (Criteria) this;
        }

        public Criteria andCompletionScoreNotBetween(Float value1, Float value2) {
            addCriterion("completion_score not between", value1, value2, "completionScore");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerIsNull() {
            addCriterion("true_answer is null");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerIsNotNull() {
            addCriterion("true_answer is not null");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerEqualTo(String value) {
            addCriterion("true_answer =", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerNotEqualTo(String value) {
            addCriterion("true_answer <>", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerGreaterThan(String value) {
            addCriterion("true_answer >", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerGreaterThanOrEqualTo(String value) {
            addCriterion("true_answer >=", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerLessThan(String value) {
            addCriterion("true_answer <", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerLessThanOrEqualTo(String value) {
            addCriterion("true_answer <=", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerLike(String value) {
            addCriterion("true_answer like", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerNotLike(String value) {
            addCriterion("true_answer not like", value, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerIn(List<String> values) {
            addCriterion("true_answer in", values, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerNotIn(List<String> values) {
            addCriterion("true_answer not in", values, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerBetween(String value1, String value2) {
            addCriterion("true_answer between", value1, value2, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andTrueAnswerNotBetween(String value1, String value2) {
            addCriterion("true_answer not between", value1, value2, "trueAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerIsNull() {
            addCriterion("my_answer is null");
            return (Criteria) this;
        }

        public Criteria andMyAnswerIsNotNull() {
            addCriterion("my_answer is not null");
            return (Criteria) this;
        }

        public Criteria andMyAnswerEqualTo(String value) {
            addCriterion("my_answer =", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerNotEqualTo(String value) {
            addCriterion("my_answer <>", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerGreaterThan(String value) {
            addCriterion("my_answer >", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerGreaterThanOrEqualTo(String value) {
            addCriterion("my_answer >=", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerLessThan(String value) {
            addCriterion("my_answer <", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerLessThanOrEqualTo(String value) {
            addCriterion("my_answer <=", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerLike(String value) {
            addCriterion("my_answer like", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerNotLike(String value) {
            addCriterion("my_answer not like", value, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerIn(List<String> values) {
            addCriterion("my_answer in", values, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerNotIn(List<String> values) {
            addCriterion("my_answer not in", values, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerBetween(String value1, String value2) {
            addCriterion("my_answer between", value1, value2, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andMyAnswerNotBetween(String value1, String value2) {
            addCriterion("my_answer not between", value1, value2, "myAnswer");
            return (Criteria) this;
        }

        public Criteria andExamStartIsNull() {
            addCriterion("exam_start is null");
            return (Criteria) this;
        }

        public Criteria andExamStartIsNotNull() {
            addCriterion("exam_start is not null");
            return (Criteria) this;
        }

        public Criteria andExamStartEqualTo(Date value) {
            addCriterion("exam_start =", value, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartNotEqualTo(Date value) {
            addCriterion("exam_start <>", value, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartGreaterThan(Date value) {
            addCriterion("exam_start >", value, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartGreaterThanOrEqualTo(Date value) {
            addCriterion("exam_start >=", value, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartLessThan(Date value) {
            addCriterion("exam_start <", value, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartLessThanOrEqualTo(Date value) {
            addCriterion("exam_start <=", value, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartIn(List<Date> values) {
            addCriterion("exam_start in", values, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartNotIn(List<Date> values) {
            addCriterion("exam_start not in", values, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartBetween(Date value1, Date value2) {
            addCriterion("exam_start between", value1, value2, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamStartNotBetween(Date value1, Date value2) {
            addCriterion("exam_start not between", value1, value2, "examStart");
            return (Criteria) this;
        }

        public Criteria andExamEndIsNull() {
            addCriterion("exam_end is null");
            return (Criteria) this;
        }

        public Criteria andExamEndIsNotNull() {
            addCriterion("exam_end is not null");
            return (Criteria) this;
        }

        public Criteria andExamEndEqualTo(Date value) {
            addCriterion("exam_end =", value, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndNotEqualTo(Date value) {
            addCriterion("exam_end <>", value, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndGreaterThan(Date value) {
            addCriterion("exam_end >", value, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndGreaterThanOrEqualTo(Date value) {
            addCriterion("exam_end >=", value, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndLessThan(Date value) {
            addCriterion("exam_end <", value, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndLessThanOrEqualTo(Date value) {
            addCriterion("exam_end <=", value, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndIn(List<Date> values) {
            addCriterion("exam_end in", values, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndNotIn(List<Date> values) {
            addCriterion("exam_end not in", values, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndBetween(Date value1, Date value2) {
            addCriterion("exam_end between", value1, value2, "examEnd");
            return (Criteria) this;
        }

        public Criteria andExamEndNotBetween(Date value1, Date value2) {
            addCriterion("exam_end not between", value1, value2, "examEnd");
            return (Criteria) this;
        }

        public Criteria andTimeLongIsNull() {
            addCriterion("time_long is null");
            return (Criteria) this;
        }

        public Criteria andTimeLongIsNotNull() {
            addCriterion("time_long is not null");
            return (Criteria) this;
        }

        public Criteria andTimeLongEqualTo(String value) {
            addCriterion("time_long =", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongNotEqualTo(String value) {
            addCriterion("time_long <>", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongGreaterThan(String value) {
            addCriterion("time_long >", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongGreaterThanOrEqualTo(String value) {
            addCriterion("time_long >=", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongLessThan(String value) {
            addCriterion("time_long <", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongLessThanOrEqualTo(String value) {
            addCriterion("time_long <=", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongLike(String value) {
            addCriterion("time_long like", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongNotLike(String value) {
            addCriterion("time_long not like", value, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongIn(List<String> values) {
            addCriterion("time_long in", values, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongNotIn(List<String> values) {
            addCriterion("time_long not in", values, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongBetween(String value1, String value2) {
            addCriterion("time_long between", value1, value2, "timeLong");
            return (Criteria) this;
        }

        public Criteria andTimeLongNotBetween(String value1, String value2) {
            addCriterion("time_long not between", value1, value2, "timeLong");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNull() {
            addCriterion("dept_id is null");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNotNull() {
            addCriterion("dept_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeptIdEqualTo(Integer value) {
            addCriterion("dept_id =", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotEqualTo(Integer value) {
            addCriterion("dept_id <>", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThan(Integer value) {
            addCriterion("dept_id >", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("dept_id >=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThan(Integer value) {
            addCriterion("dept_id <", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThanOrEqualTo(Integer value) {
            addCriterion("dept_id <=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIn(List<Integer> values) {
            addCriterion("dept_id in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotIn(List<Integer> values) {
            addCriterion("dept_id not in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdBetween(Integer value1, Integer value2) {
            addCriterion("dept_id between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotBetween(Integer value1, Integer value2) {
            addCriterion("dept_id not between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDisFlagIsNull() {
            addCriterion("dis_flag is null");
            return (Criteria) this;
        }

        public Criteria andDisFlagIsNotNull() {
            addCriterion("dis_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDisFlagEqualTo(Integer value) {
            addCriterion("dis_flag =", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagNotEqualTo(Integer value) {
            addCriterion("dis_flag <>", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagGreaterThan(Integer value) {
            addCriterion("dis_flag >", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("dis_flag >=", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagLessThan(Integer value) {
            addCriterion("dis_flag <", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagLessThanOrEqualTo(Integer value) {
            addCriterion("dis_flag <=", value, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagIn(List<Integer> values) {
            addCriterion("dis_flag in", values, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagNotIn(List<Integer> values) {
            addCriterion("dis_flag not in", values, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagBetween(Integer value1, Integer value2) {
            addCriterion("dis_flag between", value1, value2, "disFlag");
            return (Criteria) this;
        }

        public Criteria andDisFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("dis_flag not between", value1, value2, "disFlag");
            return (Criteria) this;
        }
    }

    /**
     * e_simulation_score
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * e_simulation_score 2018-08-27
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}